Skip to content

perf: faster dilate operator#11

Merged
william-silversmith merged 5 commits into
mainfrom
wms_faster_sort
Oct 22, 2025
Merged

perf: faster dilate operator#11
william-silversmith merged 5 commits into
mainfrom
wms_faster_sort

Conversation

@william-silversmith

@william-silversmith william-silversmith commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

Use network sorts (most of the time)

Good idea offered in #5 by @MariusCausemann

On my M3 Mac, dilate(..., background_only=False, parallel=1) goes from ~5.8 sec to ~4.2 sec (28% improvement) on connectomics.npy

@william-silversmith william-silversmith self-assigned this Oct 22, 2025
@william-silversmith william-silversmith added the enhancement New feature or request label Oct 22, 2025
@william-silversmith william-silversmith merged commit e33da11 into main Oct 22, 2025
15 checks passed
@william-silversmith william-silversmith deleted the wms_faster_sort branch April 18, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant